#ifndef _API_DEF_H
#define _API_DEF_H

#ifdef __cplusplus
extern "C" {
#endif

#include "pipeline.h"

typedef void* MP_MALLOC(size_t);
typedef void* MP_CALLOC(size_t, size_t);
typedef void MP_FREE(void *);

typedef void VWRITE_LOG(int, const char *, va_list);
typedef void LOGGER_DEINIT(void);
typedef int64_t SUBMIT_REQUEST
	(void *, uint32_t, void *, DATA_CLEANER *, REQUEST_RESPONDER *, uint32_t);
typedef int SET_PROBE(const char *, const char *, int, void *, void *);
#endif
